package com.liqi.monitor.mapper;

import com.liqi.monitor.domain.DvWorkOrder;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 工单Mapper接口
 *
 * @author zhanghan
 * @date 2022-10-17
 */
@Component
public interface DvWorkOrderMapper {

    /**
     * 查询工单列表
     *
     * @param dvWorkOrder 模块
     * @return 模块集合
     */
    public List<DvWorkOrder> selectDvWorkOrderList(DvWorkOrder dvWorkOrder);

    /**
     * 新增工单
     *
     * @param dvWorkOrder 模块
     * @return 结果
     */
    public int insertDvWorkOrder(DvWorkOrder dvWorkOrder);

    /**
     * 批量逻辑删除工单管理信息
     */

    public int deleteDvWorkOrder(Long[] ids);

    /**
     * 修改工单管理
     *
     * @param dvWorkOrder 工单管理
     * @return 结果
     */
    public int updateDvWorkOrder(DvWorkOrder dvWorkOrder);
    /**
     * 处理工单管理
     *
     * @param dvWorkOrder 工单管理
     * @return 结果
     */
    public int handleDvWorkOrder(DvWorkOrder dvWorkOrder);

    public DvWorkOrder selectDvWorkOrderById(Long id);
}
